<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><?php
		global $page, $paged;

		wp_title( '|', true, 'right' );

		// Add the blog name.
		bloginfo( 'name' );

		// Add a page number if necessary:
		if ( $paged >= 2 || $page >= 2 )
			echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );

		?></title>
		<?php
			$site = array(
				'url' => get_bloginfo('url'),
				'template_directory' => get_bloginfo('template_directory'),
				'title' => get_bloginfo('title'),
				'permalink' => get_permalink(),
				'login_twitter' => get_custom('login_twitter'),
				'login_youtube' => get_custom('login_youtube'),
			);
		?>
		<link href="<?php bloginfo('stylesheet_url'); ?>?27" rel="stylesheet" type="text/css" />
		<!--[if gt IE 9]>
		<link href="http://josementor.com.br/site/wp-content/themes/josementor/style-ie.css?5" rel="stylesheet" type="text/css" />
		<link href="http://josementor.com.br/site/wp-content/themes/josementor/style-ie8.css?5" rel="stylesheet" type="text/css" />
		<![endif]-->
		<!--[if IE 9]>
		<link href="http://josementor.com.br/site/wp-content/themes/josementor/style-ie.css?5" rel="stylesheet" type="text/css" />
		<![endif]-->
		<!--[if IE 8]>
		<link href="http://josementor.com.br/site/wp-content/themes/josementor/style-ie8.css?5" rel="stylesheet" type="text/css" />
		<![endif]-->
		<?php wp_enqueue_style('jcarousel-galeria-home', get_bloginfo('template_directory') . '/css/jcarroussel/skins/mentor/skin.css'); ?>
		<?php wp_enqueue_style('jcarousel-videos-sidebar', get_bloginfo('template_directory') . '/css/jcarroussel/skins/mentor-videos-sidebar/skin.css'); ?>
		<?php wp_enqueue_script('jcarousel', get_bloginfo('template_directory') . '/js/jquery.jcarousel.min.js', array('jquery')); ?>
		<?php wp_enqueue_script('jquery-ui-google', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js', array('jquery')); ?>
		<?php wp_enqueue_script('scrollTo', get_bloginfo('template_directory') . '/js/jquery.scrollTo-min.js', array('jquery')); ?>
		<?php wp_enqueue_script('localScroll', get_bloginfo('template_directory') . '/js/jquery.localscroll-min.js', array('jquery','scrollTo')); ?>
		<?php wp_enqueue_script('buscarTagYoutube', get_bloginfo('template_directory') . '/js/buscarTagYoutube.js', array('jquery')); ?>
		<?php wp_enqueue_script('functions', get_bloginfo('template_directory') . '/js/functions.js?11', array('jquery','jcarousel','scrollTo','localScroll', 'buscarTagYoutube')); ?>
		<?php wp_localize_script('functions', 'Site',  $site); ?>
		<?php wp_head(); ?>
</head>
<?php		
		$body_class = '';
				
		if ( is_post_type_archive(array('videos','fotos', 'historica')) || is_page('biografia') || is_page('links') || is_page('contato') || is_single() || is_search() ) :
			$body_class = 'no-sidebar';
		endif;
		?>
<body <?php body_class($body_class); ?>>
	<div class="gradient">
		<div class="wrap">
			<div id="faixa"></div><!-- /faixa -->
			<div class="wrapper-header">
				<div class="header">
					<h1><a class="logo" title="<?php bloginfo('name') ?>" href="<?php bloginfo('url') ?>">José Mentor</a></h1>
					<div class="menu-superior">
						<ul class="sociais">
							<li class="facebook"><a target="_blank" href="<?php echo get_custom('link_facebook'); ?>" title="Facebook">Facebook</a></li>
							<li class="twitter"><a target="_blank" href="<?php echo get_custom('link_twitter'); ?>" title="Twitter">Twitter</a></li>
							<!--<li class="linkedin"><a target="_blank" href="<?php echo get_custom('link_linkedin'); ?>" title="Linkedin">Linkedin</a></li>-->
							<li class="youtube"><a target="_blank" href="<?php echo get_custom('link_youtube'); ?>" title="Youtube">Youtube</a></li>
							<!--<li class="flickr"><a target="_blank" href="<?php echo get_custom('link_flickr'); ?>" title="Flickr">Flickr</a></li>
							<li class="rss"><a target="_blank" href="<?php bloginfo('rss2_url');?>" title="RSS">RSS</a></li>-->
						</ul>
						<span class="clear"></span>
					</div><!-- /Menu Superior -->
					<span class="clear"></span>
					<div class="menu">
						<?php 
							wp_nav_menu(array(
								'menu'			=> 'Menu',
								'menu_class'	=> 'nav-menu',
								'container'		=> false,
							));
						?>
					</div>
					<span class="clear"></span>
				</div><!--/Header -->
				<span class="clear"></span>
			</div><!-- /Wrapper Header -->
			<span class="clear"></span>
			<div class="wrapper-container">
				<div class="container">